<?php 
session_start();
?>
<?php require_once('Conection_DataBase.php') ?>
<?
mysql_select_db($database_jssue, $jssue);
$Carnet = $_SESSION["cli1"];
$ciclo = $_SESSION["cli2"];
$Querry_recordSet = "select cllg_student_assign.ID as id,cllg_career.NAME from cllg_student_assign,cllg_career where cllg_student_assign.FK_STUDENT = '$Carnet' and cllg_student_assign.FK_CYCLE = '$ciclo' and cllg_student_assign.FK_CAREER = cllg_career.ID";
$recordset = mysql_query($Querry_recordSet, $jssue) or die(mysql_error());
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Documento sin t&iacute;tulo</title>
</head>

<body>

<form id="form1" name="form1" method="post" action="Seleccion.php">
  <table width="475" border="0">
    <tr>
      <td colspan="2"></td>
    </tr>
    <tr>
      <td colspan="2">Seleccione la Carrera </td>
    </tr>
    
     <?php 
		  		while ($prueba=mysql_fetch_assoc($recordset)){
		   	   ?>
    <tr>
      <td width="238" align="left" id="NvoMov"><?php echo $prueba['NAME'];?></td>
      <td width="119" align="center" id="NvoMov"><a href=""> <input type="image" src="./images/accept.png" title="SELECCIONAR" alt="SELECCIONAR" name="button2" id="button2" onclick="javascript:report12('<?=$prueba['id']?>','<?= $prueba['NAME'];?>')"/></a></td>
    </tr>
	<?php }?>
  </table>
</form>
</body>
</html>
